/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package TO;

import java.io.Serializable;

/**
 *
 * @author admin-pc
 */
public class BookTO implements Serializable  {
    private int bookId;
    private String bookTitle;
    private String bookStatus;
    public BookTO(){}
    
    public BookTO(int bookId,String bookTitle,String bookStatus) {
        this.bookId = bookId;
        this.bookTitle = bookTitle;
        this.bookStatus = bookStatus;
    }

    

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }

    public void setBookStatus(String bookStatus) {
        this.bookStatus = bookStatus;
    }

    
    public int getBookId() {
        return bookId;
    }
    public String getBookTitle() {
        return bookTitle;
    }
    public String getBookStatus() {
        return bookStatus;
    }
    public boolean equals(BookTO bookTO){
        return bookTO.bookId == this.bookId;
    }
    
}
